<template>
	<div class="zheader">
		<p> 
			<span  class="iconfont" @click="gos($router)">&#xe697;</span>
			<span class="slide sh"><router-link to="/sortxiangqing" class="del">商品</router-link></span>
			<span class="slide"><router-link to="/details" class="del">详情</router-link></span>
			<span class="hh-last slide">评价</span>
		</p>			
	</div>
</template>

<script>
	export default{
		methods:{
			gos(str){
				str.go(-1);
			}
		}
	}
</script>

<style type="text/css">

.iconfont{
	font-family: 'iconfont';
	font-size: 1rem;
    color: #ff6900;
    margin-left: .-4rem;
}
@font-face {
  font-family: 'iconfont';  /* project id 347964 */
  src: url('//at.alicdn.com/t/font_347964_i84syvtc5rti6bt9.eot');
  src: url('//at.alicdn.com/t/font_347964_i84syvtc5rti6bt9.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_347964_i84syvtc5rti6bt9.woff') format('woff'),
  url('//at.alicdn.com/t/font_347964_i84syvtc5rti6bt9.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_347964_i84syvtc5rti6bt9.svg#iconfont') format('svg');
}
.zheader{
	height: 1.3rem;
	line-height: 1.3rem;
	background:white;
	position: fixed;
	top: 0;
	left:0;
	right: 0;
	z-index: 100;
}
.zheader p{
	
    text-align: center;
    font-size: .5rem;
    display: flex;
	justify-content: space-around;
	text-align: center;
	border-bottom: 1px solid #DDDDDD;
}
@font-face {
  font-family: 'iconfont';  /* project id 347964 */
  src: url('//at.alicdn.com/t/font_347964_t0eyzovtr1z6w29.eot');
  src: url('//at.alicdn.com/t/font_347964_t0eyzovtr1z6w29.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_347964_t0eyzovtr1z6w29.woff') format('woff'),
  url('//at.alicdn.com/t/font_347964_t0eyzovtr1z6w29.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_347964_t0eyzovtr1z6w29.svg#iconfont') format('svg');
}
.hh-last{
	margin-right: 2.5rem;
}
.slide:hover{
	color: #FF6600;
	border-bottom: 5px solid #FF6600;
}
.del{
	color: black;
	display: inline-block;
	height: 1.3rem;
}
.del:hover{
	color: #FF6600;
	border-bottom: 5px solid #FF6600;
}
</style>
